<script setup>
</script>
<template>
<div class="box">
    <slot>默认 </slot>
</div>
</template>

<style scoped> 
.box{
    margin: 10px;
    width: 80px;
    line-height: 30px;
    background-color: grey;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    border: 1px solid gray;

}
.box :hover{
    background-color: lightgray;
}
</style>
